package com.pshcp.doctor.ao.article;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Description: TODO
 * @Author: xiaoche
 * @Date: 2022/11/3 16:11
 */
@Data
@ApiModel(value="保存宣教文章")
public class SaveDoctorArticleAO {
    @ApiModelProperty(value = "文章唯一标识")
    private Long id;

    @ApiModelProperty(value = "科室id")
    private Long deptId;

    /**
     * 0图文1链接
     */
    @ApiModelProperty(value = "0图文1链接")
    private Integer type;

    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    private String title;

    /**
     * 链接
     */
    @ApiModelProperty(value = "链接")
    private String link;

    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    private String content;

    /**
     * 0个人+患者1科室+患者2全院3平台
     */
    @ApiModelProperty(value = "可见范围：0个人+患者1科室+患者2全院3平台")
    private Integer visibleRange;

    /**
     * 0不是1是原创
     */
    @ApiModelProperty(value = "0不是1是原创")
    private Integer originalFlag;

    /**
     * 封面
     */
    @ApiModelProperty(value = "封面")
    private String coverPath;

    @ApiModelProperty(value = "提醒谁看（患者分组）")
    private List<Long> patientIds;
}
